package p06.p3;

/**
 * Created by wy on 7/14/2017.
 */
public class StudentDemo {
    public static void main(String[] args) {
       // Student student = new Student();
       /* student.name = "ZhangSan";
        student.age = 23;
        student.show();*/
       //student.show();
       StudentBean studentBean = new StudentBean();
      // studentBean.age=22;
      // studentBean.name = "cccc";
       // System.out.println(studentBean.age);
       studentBean.setAge(23);
       studentBean.setName("ZhangSan");
        System.out.println(studentBean.getAge());
        System.out.println(studentBean.getName());
    }
}
